package org.ch00.test02;

/*
 *
 *@author XCH
 *@date 2025 - 03 - 03
 *
 */
public abstract  class PaymentMethod {
    private String PaymentMethod;

    public PaymentMethod(String paymentMethod) {
        PaymentMethod = paymentMethod;
    }

    public PaymentMethod() {
    }

    public String getPaymentMethod() {
        return PaymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        PaymentMethod = paymentMethod;
    }

    public abstract  void pay();
}
